<!DOCTYPE HTML>
<html>
<script>
function styleLoad() {
    console.log("Stylesheet loaded successfully.");
}

function styleError() {
    console.log("Stylesheet failed to load.");
}
</script>
<link onload="styleLoad();" onerror="styleError();" href="style.css" rel="stylesheet" />
</html>
